home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 46 / Amiga Format CD46 (1999-10-20)(Future Publishing)(GB)[!][issue 1999-12].iso / -in_the_mag- / reader_requests / scilab / man / man-part1 / cat3 / sci2exp.3 < prev    next >
Text File  |  1999-09-16  |  719b  |  67 lines

  1.  
  2.  
  3.  
  4. abs(G)                         Scilab Function                         abs(G)
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11. NAME
  12.   sci2exp - converts  variable to a scilab expression
  13.  
  14. CALLING SEQUENCE
  15.   t=sci2exp(a [,nam])
  16.  
  17. PARAMETERS
  18.  
  19.   a    : a scilab variable, may be
  20.  
  21.        -         constant,
  22.  
  23.        -         polynomial
  24.  
  25.        -          string matrix
  26.  
  27.        -          list
  28.  
  29.        -         boolean matrix
  30.  
  31.   nam  : character string
  32.  
  33.   t    : vector of string, contains the expression or instruction definition
  34.  
  35. DESCRIPTION
  36.   sci2exp converts  variable to an instruction if nam is given or to an
  37.   expression .
  38.  
  39. Example
  40.     a=[1 2;3 4]
  41.     sci2exp(a,'aa')
  42.  
  43.     sci2exp(ssrand(2,2,2))
  44.     sci2exp(poly([1 0 3 4],'s'),'fi')
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.